﻿@model bool
@{
    ViewBag.Title = "操作结果";
}
@if (Model)
{
    <h1 style="color:#12a5fb">操作成功!</h1>
}
else
{
    <h1 style="color:#ff0000">操作失败!若是删除分类,请检查是否存在子分类或分类下存在商品、文章.</h1>
}
<p>页面将在3秒后跳转到上一个链接地址.</p>
<a href="#" class="easyui-linkbutton" onclick="javascript: goBack();">返回</a>
@section scripts{
    <script>
        setTimeout(function () {
            goBack();
        }, 3000);
        function goBack() {
            location.href = "@ViewBag.Href" + "&r=" + Math.random();
        }
    </script>
}